home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 9
/
The PC-SIG Library on CD ROM - Ninth Edition.iso
/
301_400
/
DISK0374
/
DISK0374.ZIP
/
BANNER2.LBR
/
BANREF.TXT
< prev
next >
Wrap
Text File
|
1985-03-02
|
3KB
|
62 lines
*Banner* COLOR COMMANDS
To change colors while a *Banner* is scrolling, you type a caret (^)
then two hex digits as described below. To enter a caret character into a
*Banner*, type in two carets (^^)! In BASIC you would say COLOR 1,0 to make
blue on black, in *Banner* you would type ^01 somewhere in a line.
C O L O R S: Form: ^BF : B=BACKGROUND, F=FOREGROUND.
0 BLACK 8
1 BLUE 9 Both F and B can be any number from 0-F.
2 GREEN A
3 CYAN B Values over 7 in BACKGROUND will create
4 RED C flashing.
5 MAGENTA D
6 BROWN E Values over 7 in FOREGROUND make an
7 WHITE F intensified version of the first 0-7.
*BANNER* DOT COMMANDS.
The way you change from full-screen mode to scrolling mode or pause
the display is with *BANNER* dot commands. This means that a dot is the FIRST
character on the line. *BANNER* text cannot be mixed with dot commands, but
you can enter several dot commands on one line.
o .B = *BANNER* mode. Screen is cleared, one line message will scroll to the
left.
o .W = Window mode. Message is written on full-screen. Only 30 characters
fill the screen. Messages less than 30 are padded with blanks, if
your line is over 30 letters, it will be chopped off. Color short-
hand (^BF) commands do not add to this count, in fact, every letter
could be specified a different color combination.
o .WU = Thirty characters scrolled UP the screen.
o .WD = Window is scrolled DOWN the screen.
o .WR = Window is written across the screen to the right.
o .P xxx = Pause xxx after a line. .p 2000 will pause a second. This is a
single-precision value and can be most any number.
o .M xx "<string>" = Write a message in regular text on screen at line xx
(9-25). If message is less than 80 letters, center it.
o .C ^BF = Used to specify the color for the message in .M above.
o .D xxx = Change the dots used to make up *BANNER* sized letters. Starts
out CHR$(2). Can be anything from 1-254.
o .L xx = Change the starting line for the *BANNER* scroll to the left
routine. Starts out (line) 11. Can be 9-19. The scrolling
*BANNER* can not be put at the top of the screen.
o .N ^BF = Change the screen attribute in the current *BANNER* window
without clearing the screen.
o .S xxx = Send xxx (1-254) spaces to *BANNER*. Clear out a line.
o .X "<string>" Music with the BASICA PLAY command. <String> is sent directly
to PLAY.